package Ja057;

import java.util.Comparator;

public class NameComparator implements Comparator<PersonSortable2>{

	@Override
	public int compare(PersonSortable2 o1, PersonSortable2 o2) {
		
		return o1.getName().compareTo(o2.getName());
	}
                                                                                                                                                  
}
